<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright 2011 KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: choose_list.tpl 2011-03-09 01:11:30 idris $
 * @author     Idris
 */
?>

<div class="list">
  <?php foreach ($this->paginator as $item): ?>
  <div class="item">
    
      <span class="photo">
        <?php echo $this->objectPhoto($item, 'thumb.icon'); ?>
      </span>
      <span class="info">
        <span class="title">
          <?php echo $this->htmlLink($item->getHref(), $item->getTitle(), array('target' => '_blank')); ?>
        </span>
        <?php if ($item->authorization()->isAllowed(null, 'view')): ?>
        <span class="status">
          <?php echo Engine_String::substr($item->status, 0, 100); ?>
        </span>
        <?php endif; ?>
        <span class="clr"></span>
      </span>

    <div class="checkbox">
      <input type="checkbox" name="uids[]" value="<?php echo $item->getIdentity(); ?>" />
    </div>

    <div class="clr"></div>
  </div>
  <?php endforeach; ?>
  <div class="clr"></div>
  
</div>